﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace littleAdminHelper
{
    class dumpInfoToTxt : Dumper
    {
       
        public dumpInfoToTxt() {
            this.filename = "debug.txt";
        }

        public override void addText(String input)
        {
            this.text += input +"\r\n";
        }

        public override void dump()
        {
            TextWriter tw = new StreamWriter(this.path + "\\" + this.filename);
            tw.Write(this.text);
            tw.Close();
        }

        public override String toString()
        {
            return this.text;
        }
  
        
        




    }
}
